﻿@model UserQuery
@*查询表单*@
<util-form layout="Inline" class="search__form">
    <util-row gutter="32">
        <util-column span="8">
            <util-textbox for="UserName" show-label="true"></util-textbox>
        </util-column>
        <util-column span="8">
            <util-textbox for="PhoneNumber" show-label="true"></util-textbox>
        </util-column>
        <util-column span="8" ng-if="expand">
            <util-textbox for="Email" show-label="true"></util-textbox>
        </util-column>
        <util-column span="8" [class.text-right]="expand">
            <util-button id="btnQuery" text="查询" color="Primary" icon="Search" on-click="query(btnQuery)"></util-button>
            <util-button class="mx-sm" id="btnRefresh" text="刷新" icon="Sync" on-click="refresh(btnRefresh)"></util-button>
            <a (click)="expand=!expand">
                <i class="anticon" [class.anticon-down]="!expand" [class.anticon-up]="expand"></i>
            </a>
        </util-column>
    </util-row>
</util-form>